package keke;

import static org.junit.Assert.*;

import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

import org.junit.Test;

public class Testboke120202 {

	@Test
	public void test() {
		String FILENAME = "test.txt";
		BufferedWriter bw=null;
		try {
			bw=new BufferedWriter(new FileWriter(FILENAME));
			for(int i = 0;i<10000000;i++){ 
		            bw.write(1);  
		            bw.newLine();  
			}
		} catch (IOException e1) {
			e1.printStackTrace();
		}finally{
			try {
				bw.flush();
				bw.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
}
